﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FrameworkManapro.BusinessModel;

namespace GMAC.ReportingSystem.Business.Entities
{
    /// <summary>
    /// Clase usada para reprsentar los registros de la tabla [TemporaryASLTelecom]
    /// que es usada para la carga masiva de los mensajes de texto recibidos, procesados y rechazados
    /// </summary>
    //[DbProcedures(Insert = "", Update = "", Delete = "")]
    public class StringASLTelecom : BusinessEntity
    {
        public DateTime LoadDate { get; set; }
        public String dDate { get; set; }
        public String MessageType { get; set; }
        public String RecordsReceived { get; set; }
        public String RecordsSent { get; set; }
        public String RecordsNotLoaded { get; set; }
        public int UserID { get; set; }
        public bool bitStatus { get; set; }
        public String RejectionReason { get; set; }        
        public String RejectionReason_Small
        {
            get
            {
                return (RejectionReason.Length > 50) ? RejectionReason.Substring(0, 50) : RejectionReason;
            }
        } // RejectionReason_Small

    } // class

    /// <summary>
    /// Colecion de StringASLTelecom
    /// </summary>
    public class StringASLTelecomCollection : List<StringASLTelecom>
    { }

} // namespace
